package com.wld.blacklist.common.enums;


public enum CodeEnum {
    SUCCESS(0, "操作成功"),
    SYS_ERROR(10000, "系统异常"),
    PARAM_ERROR(10001,"参数异常"),
    BUSINESS_ERROR(10002,"业务异常");



    private int code;
    private String desc;
    CodeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
    public int getCode() {
        return code;
    }
    public void setCode(int code) {
        this.code = code;
    }
    public String getDesc() {
        return desc;
    }
    public void setDesc(String desc) {
        this.desc = desc;
    }
}
